﻿using System.Collections.Generic;
using System.Web.Mvc;
namespace Web.Infrastructure.Compression
{
    public partial class Compressor
    {
        private readonly UrlHelper _urlHelper;

        private readonly List<ContentItem> _items;

        public Compressor(UrlHelper urlHelper)
        {
            _items = new List<ContentItem>();
            _urlHelper = urlHelper;
                                    #region Admin Area / AuthorsController
                                                                                                        _items.Add(new ContentItem
            {
                Area = "Admin",
                Controller = "Authors",
                Action = "ListingTemplate",
                Url = _urlHelper.Action(MVC.Admin.Authors.ListingTemplate())
            });
                                                                                                                        _items.Add(new ContentItem
            {
                Area = "Admin",
                Controller = "Authors",
                Action = "CreateTemplate",
                Url = _urlHelper.Action(MVC.Admin.Authors.CreateTemplate())
            });
                                                                        _items.Add(new ContentItem
            {
                Area = "Admin",
                Controller = "Authors",
                Action = "EditTemplate",
                Url = _urlHelper.Action(MVC.Admin.Authors.EditTemplate())
            });
                                                                                     
        #endregion Admin Area / AuthorsController
        #region Admin Area / BooksController
                                                                                                        _items.Add(new ContentItem
            {
                Area = "Admin",
                Controller = "Books",
                Action = "ListingTemplate",
                Url = _urlHelper.Action(MVC.Admin.Books.ListingTemplate())
            });
                                                                                                                                                _items.Add(new ContentItem
            {
                Area = "Admin",
                Controller = "Books",
                Action = "CreateTemplate",
                Url = _urlHelper.Action(MVC.Admin.Books.CreateTemplate())
            });
                                                                        _items.Add(new ContentItem
            {
                Area = "Admin",
                Controller = "Books",
                Action = "EditTemplate",
                Url = _urlHelper.Action(MVC.Admin.Books.EditTemplate())
            });
                                                                                     
        #endregion Admin Area / BooksController
        #region Admin Area / CategoriesController
                                                                                                        _items.Add(new ContentItem
            {
                Area = "Admin",
                Controller = "Categories",
                Action = "ListingTemplate",
                Url = _urlHelper.Action(MVC.Admin.Categories.ListingTemplate())
            });
                                                                                                                        _items.Add(new ContentItem
            {
                Area = "Admin",
                Controller = "Categories",
                Action = "CreateTemplate",
                Url = _urlHelper.Action(MVC.Admin.Categories.CreateTemplate())
            });
                                                                        _items.Add(new ContentItem
            {
                Area = "Admin",
                Controller = "Categories",
                Action = "EditTemplate",
                Url = _urlHelper.Action(MVC.Admin.Categories.EditTemplate())
            });
                                                                                     
        #endregion Admin Area / CategoriesController
        #region Admin Area / CommentsController
                                                                                                        _items.Add(new ContentItem
            {
                Area = "Admin",
                Controller = "Comments",
                Action = "ListingTemplate",
                Url = _urlHelper.Action(MVC.Admin.Comments.ListingTemplate())
            });
                                                                                                _items.Add(new ContentItem
            {
                Area = "Admin",
                Controller = "Comments",
                Action = "CreateTemplate",
                Url = _urlHelper.Action(MVC.Admin.Comments.CreateTemplate())
            });
                                                                        _items.Add(new ContentItem
            {
                Area = "Admin",
                Controller = "Comments",
                Action = "EditTemplate",
                Url = _urlHelper.Action(MVC.Admin.Comments.EditTemplate())
            });
                                                                                     
        #endregion Admin Area / CommentsController
        #region Admin Area / ContentController
                                                                                                        _items.Add(new ContentItem
            {
                Area = "Admin",
                Controller = "Content",
                Action = "DashboardTemplate",
                Url = _urlHelper.Action(MVC.Admin.Content.DashboardTemplate())
            });
                                                             
        #endregion Admin Area / ContentController
        #region Admin Area / ResponsesController
                                                                                                        _items.Add(new ContentItem
            {
                Area = "Admin",
                Controller = "Responses",
                Action = "ListingTemplate",
                Url = _urlHelper.Action(MVC.Admin.Responses.ListingTemplate())
            });
                                                                                                                        _items.Add(new ContentItem
            {
                Area = "Admin",
                Controller = "Responses",
                Action = "CreateTemplate",
                Url = _urlHelper.Action(MVC.Admin.Responses.CreateTemplate())
            });
                                                                        _items.Add(new ContentItem
            {
                Area = "Admin",
                Controller = "Responses",
                Action = "EditTemplate",
                Url = _urlHelper.Action(MVC.Admin.Responses.EditTemplate())
            });
                                                             
        #endregion Admin Area / ResponsesController
        #region Admin Area / SecurityController
                                                                                                        _items.Add(new ContentItem
            {
                Area = "Admin",
                Controller = "Security",
                Action = "LogOnTemplate",
                Url = _urlHelper.Action(MVC.Admin.Security.LogOnTemplate())
            });
                                                                                     
        #endregion Admin Area / SecurityController
        #region Admin Area / SharedController
                                                                                                                                                                                                                                             
        #endregion Admin Area / SharedController
        #region Admin Area / UsersController
                                                                                                        _items.Add(new ContentItem
            {
                Area = "Admin",
                Controller = "Users",
                Action = "ListingTemplate",
                Url = _urlHelper.Action(MVC.Admin.Users.ListingTemplate())
            });
                                                                                                                        _items.Add(new ContentItem
            {
                Area = "Admin",
                Controller = "Users",
                Action = "CreateTemplate",
                Url = _urlHelper.Action(MVC.Admin.Users.CreateTemplate())
            });
                                                                        _items.Add(new ContentItem
            {
                Area = "Admin",
                Controller = "Users",
                Action = "EditTemplate",
                Url = _urlHelper.Action(MVC.Admin.Users.EditTemplate())
            });
                                                                                     
        #endregion Admin Area / UsersController
                 
                #region AccountController
                                                            _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Account",
                Action = "LogOnTemplate",
                Url = _urlHelper.Action(MVC.Account.LogOnTemplate())
            });
                                                                                                                        _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Account",
                Action = "EditTemplate",
                Url = _urlHelper.Action(MVC.Account.EditTemplate())
            });
                                                                    #endregion AccountController
 
        #region AuthorsController
                                            _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Authors",
                Action = "ListingTemplate",
                Url = _urlHelper.Action(MVC.Authors.ListingTemplate())
            });
                                                        _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Authors",
                Action = "ShowTemplate",
                Url = _urlHelper.Action(MVC.Authors.ShowTemplate())
            });
                                                                    #endregion AuthorsController
 
        #region BooksController
                                            _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Books",
                Action = "IndexTemplate",
                Url = _urlHelper.Action(MVC.Books.IndexTemplate())
            });
                                                                    #endregion BooksController
 
        #region CategoriesController
                                            _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Categories",
                Action = "IndexTemplate",
                Url = _urlHelper.Action(MVC.Categories.IndexTemplate())
            });
                                                                                                                        _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Categories",
                Action = "NavigationTemplate",
                Url = _urlHelper.Action(MVC.Categories.NavigationTemplate())
            });
                                        _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Categories",
                Action = "AlphabetTemplate",
                Url = _urlHelper.Action(MVC.Categories.AlphabetTemplate())
            });
                                                    #endregion CategoriesController
 
        #region FriendsController
                                                            _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Friends",
                Action = "FriendsListingTemplate",
                Url = _urlHelper.Action(MVC.Friends.FriendsListingTemplate())
            });
                                        _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Friends",
                Action = "FriendsListingEmptyTemplate",
                Url = _urlHelper.Action(MVC.Friends.FriendsListingEmptyTemplate())
            });
                                                                                                                        _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Friends",
                Action = "FriendsIsAcceptedListingTemplate",
                Url = _urlHelper.Action(MVC.Friends.FriendsIsAcceptedListingTemplate())
            });
                                        _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Friends",
                Action = "FriendsIsAcceptedListingEmptyTemplate",
                Url = _urlHelper.Action(MVC.Friends.FriendsIsAcceptedListingEmptyTemplate())
            });
                                        _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Friends",
                Action = "SocialFriendsTemplate",
                Url = _urlHelper.Action(MVC.Friends.SocialFriendsTemplate())
            });
                                        _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Friends",
                Action = "SocialFriendsRequestTemplate",
                Url = _urlHelper.Action(MVC.Friends.SocialFriendsRequestTemplate())
            });
                                                                    #endregion FriendsController
 
        #region HomeController
                                                            _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Home",
                Action = "IndexTemplate",
                Url = _urlHelper.Action(MVC.Home.IndexTemplate())
            });
                                                                    #endregion HomeController
 
        #region MessagesController
                                                            _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Messages",
                Action = "UserListingTemplate",
                Url = _urlHelper.Action(MVC.Messages.UserListingTemplate())
            });
                                                        _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Messages",
                Action = "MessageListingTemplate",
                Url = _urlHelper.Action(MVC.Messages.MessageListingTemplate())
            });
                                        _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Messages",
                Action = "MessageListingEmptyTemplate",
                Url = _urlHelper.Action(MVC.Messages.MessageListingEmptyTemplate())
            });
                                        _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Messages",
                Action = "UserListingEmptyTemplate",
                Url = _urlHelper.Action(MVC.Messages.UserListingEmptyTemplate())
            });
                                                                                        _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Messages",
                Action = "MessageTemplate",
                Url = _urlHelper.Action(MVC.Messages.MessageTemplate())
            });
                                        _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Messages",
                Action = "SendMessageTemplate",
                Url = _urlHelper.Action(MVC.Messages.SendMessageTemplate())
            });
                                                    #endregion MessagesController
 
        #region ProfileController
                                                                            _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Profile",
                Action = "ProfileTemplate",
                Url = _urlHelper.Action(MVC.Profile.ProfileTemplate())
            });
                                                        _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Profile",
                Action = "RatedBooksTemplate",
                Url = _urlHelper.Action(MVC.Profile.RatedBooksTemplate())
            });
                                        _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Profile",
                Action = "ListingIconViewTemplate",
                Url = _urlHelper.Action(MVC.Profile.ListingIconViewTemplate())
            });
                                        _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Profile",
                Action = "ListingListViewTemplate",
                Url = _urlHelper.Action(MVC.Profile.ListingListViewTemplate())
            });
                                        _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Profile",
                Action = "SocialProfileTemplate",
                Url = _urlHelper.Action(MVC.Profile.SocialProfileTemplate())
            });
                                                    #endregion ProfileController
 
        #region RatingController
                                            _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Rating",
                Action = "RatingTemplate",
                Url = _urlHelper.Action(MVC.Rating.RatingTemplate())
            });
                                                                    #endregion RatingController
 
        #region ResponsesController
                                                                            _items.Add(new ContentItem
            {
                Area = "",
                Controller = "Responses",
                Action = "Template",
                Url = _urlHelper.Action(MVC.Responses.Template())
            });
                                                    #endregion ResponsesController
 
        #region SharedController
                                                                                        #endregion SharedController
 
 
 
 
 
 
 
 
 
 
        }
    }
}

